package com.gxa.saas.service;

import com.gxa.saas.pojo.Goods;
import com.gxa.saas.pojo.VisitResult;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * @author CZJ
 * @date 2022/6/9 15:37
 */
public interface GoodsService {
    List<Goods> selectByPage(Integer page, Integer size);
    Integer insert(Goods goods);
    Integer update(Goods goods);
    Integer delete(Integer id);
    List<Goods> selectAll();
    List<Goods> selectGoodsLow(Goods goods,Integer page, Integer size);
    List<Goods> selectGoodsLow1(Goods goods);
    List<Goods> selectBySort(Boolean boo);
    void export(List<Goods> list, HttpServletResponse response) throws Exception;
    List<Goods> selectGoodsHigh(Goods goods,Integer page, Integer size);
    List<Goods> selectGoodsHigh1(Goods goods);
    List<Goods> selectTwo();
}
